package com.engine4cloud.tdf.supervision.dto.create;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * 社会工作者-请求对象
 *
 * @author wenjie
 * @date 2024-04-15 11:35:08
 */
@Data
@Schema(description = "社会工作者-请求对象")
public class GzrySocialWorkerCreateDTO implements Serializable {
    /**
     * 姓名
     */
    @Schema(description = "姓名", example = "张三")
    @NotBlank(message = "姓名不能为空")
    private String xm;

    /**
     * 性别
     */
    @Schema(description = "性别", example = "1")
    @NotBlank(message = "性别不能为空")
    private String xb;

    /**
     * 出生日期
     */
    @Schema(description = "出生日期", example = "2024-01-01")
    @NotNull(message = "出生日期不能为空")
    private LocalDate csrq;

    /**
     * 身份证号
     */
    @Schema(description = "身份证号", example = "610429********2011")
    @NotBlank(message = "身份证号不能为空")
    private String sfzh;

    /**
     * 学历
     */
    @Schema(description = "学历", example = "01")
    private String xl;

    /**
     * 最高学位
     */
    @Schema(description = "最高学位", example = "01")
    private String zgxw;

    /**
     * 专业
     */
    @Schema(description = "专业", example = "110")
    private String zy;

    /**
     * 职称
     */
    @Schema(description = "职称", example = "01")
    private String zc;

    /**
     * 政治面貌
     */
    @Schema(description = "政治面貌", example = "01")
    @NotBlank(message = "政治面貌不能为空")
    private String zzmm;

    /**
     * 薪酬水平段
     */
    @Schema(description = "薪酬水平段", example = "01")
    @NotBlank(message = "薪酬水平段不能为空")
    private String xcspd;

    /**
     * 联系电话
     */
    @Schema(description = "联系电话", example = "021-88998888")
    private String lxdh;

    /**
     * 手机
     */
    @Schema(description = "手机", example = "177********")
    @NotBlank(message = "手机不能为空")
    private String sj;

    /**
     * 家庭住址
     */
    @Schema(description = "家庭住址", example = "**省**市**县**镇**村**号")
    private String jtzz;

    /**
     * 合同期
     */
    @Schema(description = "合同期", example = "01")
    @NotBlank(message = "合同期不能为空")
    private String htq;

    /**
     * 签订合同日期
     */
    @Schema(description = "签订合同日期", example = "2024-01-01")
    @NotNull(message = "签订合同日期不能为空")
    private LocalDate qdhtrq;

    /**
     * 是否在职
     */
    @Schema(description = "是否在职", example = "1")
    @NotBlank(message = "是否在职不能为空")
    private String sfzz;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String bz;

    /**
     * 家庭住址
     */
    @Schema(description = "家庭住址", example = "[\"460000\",\"46000A\",\"469006\",\"36327\"]")
    private List<String> areaList;
}